
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置ScenicSpot的AutoMapper
    /// </summary>
	internal static class ScenicSpotMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <ScenicSpot,ScenicSpotListDto>();
            configuration.CreateMap <ScenicSpotListDto,ScenicSpot>();

            configuration.CreateMap <ScenicSpotEditDto,ScenicSpot>();
            configuration.CreateMap <ScenicSpot,ScenicSpotEditDto>();

        }
	}
}
